package com.yunxi.sto.pojo;

import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.yunxi.core.web.DateJsonDeserializer;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 运输计划查询
 * </p>
 *
 * @author caoYong
 * @since 2019-05-23
 */
@Data
@ApiModel(value="StoTransportPlanQuery对象", description="运输计划查询")
public class StoTransportPlanQueryVO implements Serializable {

    @ApiModelProperty(value = "SAP交货单号,	一台车一个交接单号")
    private String vbeln;

    @ApiModelProperty(value = "开始创建时间")
    @JsonDeserialize(using = DateJsonDeserializer.class)
    private Date createTimeStart;

    @ApiModelProperty(value = "结束创建时间")
    @JsonDeserialize(using = DateJsonDeserializer.class)
    private Date createTimeEnd;

    @ApiModelProperty(value = "交货单类型 ZLF1 整车交货单,ZLR1 退货交货单,ZLR2 寄售返回单,ZLF2 整车寄售虚拟发货单")
    private String lfart;

    @ApiModelProperty(value = "单据状态 (Transport_Plan_State,1汇集,2计划已下发,3计划取消,4已安排运输计划,5运单已发布,6在出库,7运输在途,8已运抵)")
    private String billState;

    @ApiModelProperty(value = "出发城市代码")
    private String startCityCode;

    @ApiModelProperty(value = "出发城市名称")
    private String startCityName;

    @ApiModelProperty(value = "到达城市代码")
    private String endCityCode;

    @ApiModelProperty(value = "到达城市名称")
    private String endCityName;

    @ApiModelProperty(value = "车辆VIN码")
    private String vin;

    @ApiModelProperty(value = "销售组织编码")
    private String vkorg;

    @ApiModelProperty(value = "客户编码")
    private String kunnr;

    @ApiModelProperty(value = "客户名称")
    private String partnerName;

    @ApiModelProperty(value = "是否自提(0否,1是)")
    private Integer isPickSelf;

    @ApiModelProperty(value = "是否已自提(0否,1是)")
    private Integer isPicked;

    @ApiModelProperty(value = "运输计划号")
    private String transportPlanNo;

    @ApiModelProperty(value = "提车人姓名")
    private String pickerName;

    @ApiModelProperty(value = "提车人电话")
    private String pickerPhone;

    @ApiModelProperty(value = "提车时间起")
    private String pickDateStart;

    @ApiModelProperty(value = "提车时间止")
    private String pickDateEnd;

}
